good = BaseClass("Good")

function good:__init(name, size, price, timer)
    self.name = name
    self.size = size
    self.price = price
    self.timer = timer
end
function good:show()
    print("名称"..self.name.."占用内存"..self.size.."价格"..self.price..
    "入库时间"..self.timer)
end
